package com.maybach.workflow.common.api.node;

import com.maybach.workflow.common.api.enums.ActorTypeEnum;
import com.maybach.workflow.common.api.enums.NodeTypeEnum;

/**
 * Created by houenxun on 16/1/21.
 */
public class TaskActor extends BaseNode{
    /**
     *
     */
    private ActorTypeEnum actorType;
    private String value;
    private String expression;

    public ActorTypeEnum getActorType() {
        return actorType;
    }

    public void setActorType(ActorTypeEnum actorType) {
        this.actorType = actorType;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    @Override
    public NodeTypeEnum getNodeType() {
        return NodeTypeEnum.actor;
    }
}
